<!DOCTYPE html>
<html xmlns:th="www.thymeleaf.org">
<head>
<meta charset="UTF-8" />
<title>DETAIL DRINK</title>
<link rel="stylesheet" href="../../css/bootstrap/bootstrap.css"
	th:href="@{/css/bootstrap/bootstrap.css}" />
<style>
@font-face {
	font-family: 'Glyphicons Halflings';
	src: url('../fonts/glyphicons-halflings-regular.eot');
	src: url('../fonts/glyphicons-halflings-regular.eot?#iefix')
		format('embedded-opentype'),
		url('../fonts/glyphicons-halflings-regular.woff') format('woff'),
		url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'),
		url('../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular')
		format('svg');
}
}
</style>
</head>
<body>
	<header></header>
	<nav class="navbar navbar-inverse">
		<div class="container-fluid">
			<div>
				<ul class="nav navbar-nav navbar-right">
					<li><a href="#"><span class="glyphicon glyphicon-search"></span>Sign
							Up</a></li>
					<li><a href="#"><span class="glyphicon glyphicon-log-in"></span>
							Login</a></li>
				</ul>
			</div>
		</div>
	</nav>
	<section>
		<article class="container col-md-10 col-md-offset-1">
			<div id="error"></div>
			<ol class="breadcrumb">
				<li><a href="#">Home</a></li>
				<li><a href="#">Drink</a></li>
				<li class="active">Detail</li>
			</ol>
			<div class="panel panel-success">
				<div class="panel-heading">DETAIL DRINK</div>
				<div class="panel-body">
					<div class="form-horizontal container col-md-10 col-md-offset-1">
						<input type="hidden" id="restaurantId" name="restaurantId"
							th:value="${drink.restaurantId}" />
						<div class="form-group">
							<strong class="col-md-3">Restaurant Name:</strong>
							<div class="col-md-9">
								<span th:text="${drink.restaurantName}"></span>
							</div>
						</div>
						<input type="hidden" id="menuDrinkId" name="menuDrinkId"
							th:value="${drink.menuDrinkId}" />
						<div class="form-group">
							<strong class="col-md-3">Menu Drink Name:</strong>
							<div class="col-md-9">
								<span th:text="${drink.menuDrinkName}"></span>
							</div>
						</div>
						<input type="hidden" id="drinkId" name="drinkId"
							th:value="${drink.drinkId}" />
						<div class="form-group">
							<strong class="col-md-3">Drink Name:</strong>
							<div class="col-md-9">
								<span th:text="${drink.drinkName}"></span>
							</div>
						</div>
						<div class="form-group">
							<strong class="col-md-3">Drink Title:</strong>
							<div class="col-md-9">
								<span th:text="${drink.drinkTitle}"></span>
							</div>
						</div>
						<div class="form-group">
							<strong class="col-md-3">Drink Image:</strong>
							<div class="col-md-9">
								<span th:text="${drink.drinkImage}"></span>
							</div>
						</div>
						<div class="form-group">
							<strong class="col-md-3">Old Price:</strong>
							<div class="col-md-9">
								<span th:text="${drink.oldPrice}"></span>
							</div>
						</div>
						<div class="form-group">
							<strong class="col-md-3">New Price:</strong>
							<div class="col-md-9">
								<span th:text="${drink.newPrice}"></span>
							</div>
						</div>
						<div class="form-group">
							<strong class="col-md-3">Create Information:</strong>
							<div class="col-md-3">
								<span th:text="${drink.createId}"></span>
							</div>
							<div class="col-md-offset-1 col-md-3">
								<span th:text="${drink.createTime}"></span>
							</div>
						</div>
						<div class="form-group">
							<strong class="col-md-3">Update Information:</strong>
							<div class="col-md-3">
								<span th:text="${drink.updateId}"></span>
							</div>
							<div class="col-md-offset-1 col-md-3">
								<span th:text="${drink.updateTime}"></span>
							</div>
						</div>
						<div class="form-group">
							<strong class="col-md-3">Description:</strong>
							<div class="col-md-3">
								<span th:text="${drink.description}"></span>
							</div>
						</div>
						<div class="col-sm-3 col-sm-2">
							<button onclick="backPage()"
								class="btn btn-primary glyphicon glyphicon-backward">Back</button>
						</div>
						<div class="col-sm-offset-1 col-sm-2">
							<a
								th:href="@{/drink/formupdate(drinkId=${drink.drinkId})}">
								<button class="btn btn-primary glyphicon glyphicon-edit">Edit</button>
							</a>
						</div>
						<div class="col-sm-offset-1 col-sm-2">
							<a
								th:href="@{/drink/delete(restaurantId=${drink.restaurantId}, restaurantName=${drink.restaurantName}, menuDrinkId=${drink.menuDrinkId}, menuDrinkName=${drink.menuDrinkName}, drinkId=${drink.drinkId})}">
								<button type="button"
									class="btn btn-primary glyphicon glyphicon-trash">Delete</button>
							</a>
						</div>
					</div>
				</div>
				<div class="panel-footer"></div>
			</div>
		</article>
	</section>
	<footer class="container col-md-12" style="margin-top: 25px;">
		<ol class="breadcrumb text-center">
			<li class="active"><p>@copyright - University Of Information
					Technology - Spring + hibernate + css3 + html5</p></li>
		</ol>
	</footer>
</body>
</html>